package player;

import character.Character;
import com.jme3.renderer.Camera;

public class HumanPlayer extends Player {
    protected Camera camera;
    protected Character selectedCharacter;

    @Deprecated
    public HumanPlayer() {}

    public HumanPlayer(String name, Camera camera) {
	super(name);
	this.camera = camera;
    }
    
    public Camera getCamera() {
	return camera;
    }
    public void setCamera(Camera camera) {
	this.camera = camera;
    }
    public Character getSelectedCharacter() {
	return selectedCharacter;
    }
    public void setSelectedCharacter(Character selectedCharacter) {
	this.selectedCharacter = selectedCharacter;
    }
    public boolean hasSelectedCharacter() {
	return (selectedCharacter != null);
    }
    public void clearSelectedCharacter() {
	setSelectedCharacter(null);
    }
}
